val list:List[String]=List("Hello Word","Alic","Apple Banana","pear","water win","frape","green","Zhang san","Li si","Wang wu")
val rdd = sc.parallelize(list)
val words =rdd.flatMap(x=>x.split(" ")).map(_.toLowerCase())
println(words.collect().mkString(","))
